package cn.wolfcode.crm.service;


import cn.wolfcode.crm.domain.Accdentdetail;
import cn.wolfcode.crm.domain.Claim;
import cn.wolfcode.crm.domain.Guard;
import cn.wolfcode.crm.domain.Report;
import cn.wolfcode.crm.query.AccentdatailQueryObject;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IAccdentdetailService {

    void deleteByPrimaryKey(Long id);

    Accdentdetail selectByPrimaryKey(Long id);

    List<Accdentdetail> selectAll();

    void saveOrUpdate(Accdentdetail entity);

    PageResult query(QueryObject qo);

    void insertCase(Report entity);

    PageResult auditquery(AccentdatailQueryObject qo);

    void changeAuditState(Long id);

    void changeState(Long id,Guard guard, Claim claim);

    void updateDate(Long id);

    void updateClaim(Long id);

    void insertGuardId(Long id, Long guardNum);
}
